package com.company.nuwa.common.domain;

import com.company.nuwa.common.utils.UUIDUtils;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>开放接口请求参数</p>
 *
 * @author lili
 * @version 1.0: OpenBeautyDigitalBasicRequest.java
 * @date 2023/5/6 13:49
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class OpenBeautyDigitalBasicRequest implements Serializable {

    /**
     * 租户id
     */
    @NotNull(message = "租户id不能为空")
    private Long            tenantId;
    /**
     * 应用类型
     */
    @NotNull(message = "应用id不能为空")
    private Long              appId;


    /**
     * 日志id
     */
    private String          logId = UUIDUtils.getUUID();

}
